package com.hntnbs.websocket.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.websocket.Session;
import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class SessionContainer {
    /**
     * socket的session
     */
    private Session session;
    /**
     * socket的创建时间
     */
    private Date connectTime;
    /**
     * exchange的名称
     */
    private String exchangeName;
    /**
     * route的名称
     */
    private String routingKey;
}
